package com.imc.griebeler.power;

import com.imc.griebeler.appliance.Oven;

public class OvenAdapter implements PowerPoint{

	private Oven oven;
	
	public OvenAdapter() {
		oven = new Oven();
	}
	
	public OvenAdapter(Oven oven) {
		this.oven = oven;
	}
	
	@Override
	public void on() {
		oven.heatUp();
	}

	@Override
	public void off() {
		oven.coolDown();
	}

}
